package com.zack.designPattern.template;

public abstract class Template {

	public void template(){
		before();
		operate();
		after();
	}
	
	protected void before(){
		System.out.println("before");
	}
	
	protected void after(){
		System.out.println("after");
	}
	
	protected abstract void operate();
}
